package com.apes.fn.ssm.model;


import com.apes.framework.jpa.BaseModel;
import com.apes.framework.jpa.DefaultPersistListener;
import com.apes.framework.jpa.comment.Comment;
import com.apes.framework.jpa.generator.ApesGenerator;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.SelectBeforeUpdate;

import javax.persistence.*;

/**
 * @ClassName : StoreMemberModels
 * @Description :
 * @Author : YiYun
 * @Date: 2022-6-21 10:37
 */
@Getter
@Setter
@DynamicInsert
@DynamicUpdate
@SelectBeforeUpdate
@Entity
@EntityListeners(DefaultPersistListener.class)
@Table(name = StoreMemberModelsImport.CONST_TABLE_NAME)
public class StoreMemberModelsImport extends BaseModel {
    public static final String CONST_TABLE_NAME = "STOCK_STORE_MEMBER_MODELS_I";

    @Id
    @ApesGenerator(code = CONST_TABLE_NAME, name = "会员车型-导入")
    @Column(name = "id")
    @Comment(value = "编码")
    private String id;

    @Column(name = "location_id")
    @Comment(value = "仓库")
    private String locationId;

    @Column(name = "store_code")
    @Comment(value = "门店")
    private String storeCode;

    @Column(name = "car_license", length = 64)
    @Comment("车牌号码")
    private String carLicense;

    @Column(name = "jekun_Model_Code")
    @Comment("车型编码")
    private String jekunModelCode;

    @Column(name = "vip_liveness_id", length = 255)
    @Comment("会员活跃度编码")
    private String vipLivenessId;




}
